
int color = 0;
String inString = "";
int r,g,b=0;
void setup() {
  // put your setup code here, to run once:
  pinMode(9,OUTPUT);
  pinMode(10,OUTPUT);
  pinMode(11,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
//  r=100;
//  g=100;
//  b=100;

  analogWrite(11,255-r);
  analogWrite(9,255-g);
  analogWrite(10,255-b);
  r=(r+123)%255;
  g=(g+27)%255;
  b=(b+139)%255;

  delay(1000);
}
